Hello,
I would like to be able in Volt to access to the related models. If I type Users::find(), I can access to the related model by typing in my Volt view {{ users.getRoles.name }}.
However, when if I type Users::find(array('columns' => 'firstname, lastname, email, roleid')). It doesn't work anymore.
Could you tell me why ? How to do it. I would like to send not all of the field, only the field needed. I would prefer to use ORM instead of a simple array with PDO statement.
Thanks